import http from '../http'

// 通过网关访问：/api/finance/** （baseURL 已是 /api）
export const customerInfoPage = (data) => http.post('/finance/customer-info/page', data)
export const customerInfoAdd = (data) => http.post('/finance/customer-info', data)
export const customerInfoDetail = (id) => http.get(`/finance/customer-info/${id}`)
export const customerInfoUpdateStatus = (id, status) => http.put(`/finance/customer-info/${id}/status`, null, { params: { status } })
export const getUserList = () => http.get('/finance/customer-info/users')
